﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace WpfTestApplication
{
    /// <summary>
    /// Interaction logic for ContextMenuTestWindow.xaml
    /// </summary>
    public partial class ContextMenuTestWindow : Window
    {
        public ContextMenuTestWindow()
        {
            InitializeComponent();
        }

        private void MenuItem_Click_Copy(object sender, RoutedEventArgs e)
        {
            labelContextMenuClicked.Content = "Copy";
        }

        private void MenuItem_Click_Paste(object sender, RoutedEventArgs e)
        {
            labelContextMenuClicked.Content = "Paste";
        }

        private void MenuItem_Click_Action1(object sender, RoutedEventArgs e)
        {
            labelContextMenuClicked.Content = "Action1";
        }

        private void MenuItem_Click_Action2(object sender, RoutedEventArgs e)
        {
            labelContextMenuClicked.Content = "Action2";
        }

        private void MenuItem_Click_Option1(object sender, RoutedEventArgs e)
        {
            labelContextMenuClicked.Content = "Option1";
        }

        private void MenuItem_Click_Option2(object sender, RoutedEventArgs e)
        {
            labelContextMenuClicked.Content = "Option2";
        }

    }
}
